New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature: Limit Preis als Attribut #1330
Feature: Limit Preis als Attribut #1330
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @debegr92,
vielen Dank für den Change. Das ist schon ein ziemlich alter Feature Wunsch. Und die Idee mit dem Comparator (">=") direkt im Eingabefeld finde ich super. Der Code ist super. Ich habe noch ein paar Anmerkungen die vor allem aus der PP Code Historie kommen.
Wichtig wäre mir
- der letzte Kurs kann null sein
- das Pattern sollte alle Sprachvarianten unterstützen
- das Attribut darf nur für Wertpapiere angelegt werden können
- Versionsnummer in Client/ClientFactory und XML Name
Andreas.
name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/views/columns/AttributeColumn.java
Outdated
Show resolved
Hide resolved
name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/views/columns/AttributeColumn.java
Outdated
Show resolved
Hide resolved
name.abuchen.portfolio/src/name/abuchen/portfolio/model/AttributeType.java
Outdated
Show resolved
Hide resolved
name.abuchen.portfolio.ui/src/name/abuchen/portfolio/ui/views/settings/AttributeFieldType.java
Show resolved
Hide resolved
name.abuchen.portfolio/src/name/abuchen/portfolio/money/LimitPrice.java
Outdated
Show resolved
Hide resolved
- Fixed parsing of relational operator - Fixed comparison when coloring cell background - Renamed 'CompareType' to 'RelationalOperator' - Right-aligned limit column - Limit creation of limit to attributes attached to securities Issue: #1330
Hi @debegr92, ist drin! Vielen Dank. Ich habe Deine commits ge"squashed" und auf den master ge"rebased". Ein paar Punkte habe ich noch angepasst - siehe 26e915a Wenn Du Deine persönlich Datei schon angepasst hast, dann müsstest Du "compareType" noch in "operator" im XML umbenennen. Deine Lösung gefällt mir richtig gut. Vor allem die Idee das Vergleichszeichen direkt in der Eingabe mit aufzunehmen. Andreas. |
Issue: portfolio-performance#1330 Issue: portfolio-performance#143 Signed-off-by: Dennis Greguhn <dennis@greguhn.de> [squashed commits; reformatted to PP code style; rebased to master] Signed-off-by: Andreas Buchen <andreas.buchen@gmail.com>
- Fixed parsing of relational operator - Fixed comparison when coloring cell background - Renamed 'CompareType' to 'RelationalOperator' - Right-aligned limit column - Limit creation of limit to attributes attached to securities Issue: portfolio-performance#1330
Nach der etwas angestaubten Unterhaltung hier #143, möchte ich meine Lösung präsentieren:
Ein neuer AttributeType "LimitPrice" wurde eingeführt. Dieser akzeptiert die Vergleichs-Operatoren >=, <=, > und < gefolgt von einem Preis.
Unterschreitungen werden rot, Überschreitungen grün dargestellt.